<template>
  <a-modal v-model="visible" title="转移阶段" @ok="handleOk" :confirm-loading="confirmLoading" @cancel="$emit('update:visible', false)">
    <a-select v-model="select" style="width: 100%">
      <a-select-option value="1">
        已投递
      </a-select-option>
      <a-select-option value="2">
        已约面
      </a-select-option>
      <a-select-option value="3">
        待入职
      </a-select-option>
      <a-select-option value="4">
        已招聘
      </a-select-option>
      <a-select-option value="5">
        未通过
      </a-select-option>
    </a-select>
  </a-modal>
</template>

<script>
import moment from "moment";
import { putDeliverRecords } from "../api";
export default {
  props: {
    visible: {
      type: Boolean,
      default: false
    }
  },
  watch: {
    visible(v) {
      if (v) {
        this.select = "1";
      }
    }
  },
  data() {
    return {
      select: "1",
      confirmLoading: false
    };
  },
  methods: {
    moment,
    handleOk() {
      this.$emit("upDate", this.select);
      this.$emit("update:visible", false);
    }
  }
};
</script>

<style></style>
